package genetic2;

import warehouse.Util.DBDataType;

/**
 *
 * @author Manolescu Razvan
 */
public class ColumnStatistics {
    public String name;
    public float probabilityOfUsage;
    public int sizeInB;
    public int fullCount;
    public int count;
    public int length;
    public DBDataType dataType;

    @Override
    public String toString() {
        return "" + "name=" + name + ", probabilityOfUsage=" + probabilityOfUsage + ", "
                + "sizeInB=" + sizeInB + ", fullCount=" + fullCount + ", count=" + count + ", length=" + length + ", dataType=" + dataType ;
    }
    
    @Override
    public Object clone(){
        final ColumnStatistics c = new ColumnStatistics();
        c.name = name;
        c.probabilityOfUsage = probabilityOfUsage;
        c.sizeInB = sizeInB;
        c.fullCount = fullCount;
        c.count = count;
        c.length = length;
        c.dataType = dataType;
        return c;
    }

}
